home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / program / gcc / ixemul-4.lha / ixemul-41.4 / network / Makefile.in < prev    next >
Makefile  |  1995-05-23  |  4KB  |  113 lines

  1. #### Start of system configuration section. ####
  2.  
  3. srcdir =    @srcdir@
  4. VPATH =        @srcdir@
  5.  
  6. # Common prefix for machine-independent installed files.
  7. prefix =    @prefix@
  8.  
  9. # Common prefix for machine-dependent installed files.
  10. exec_prefix =    @exec_prefix@
  11.  
  12. bindir =    $(exec_prefix)/bin
  13. libdir =    $(exec_prefix)/Sys/libs
  14.  
  15. INSTALL =    @INSTALL@
  16. INSTALL_DATA =    @INSTALL_DATA@
  17.  
  18. CC =        @CC@
  19.  
  20. CFLAGS =    @CFLAGS@
  21. LDFLAGS =    @LDFLAGS@
  22.  
  23. RANLIB =    @RANLIB@
  24. AR =        ar
  25.  
  26. #### End system configuration section ####
  27.  
  28. FLAVOR_CFLAGS =    -m$(CPU) -m$(FPU) -f$(BASE)
  29. OTHER_CFLAGS =    -fomit-frame-pointer
  30. ALL_CFLAGS =    $(CFLAGS) $(FLAVOR_CFLAGS) $(OTHER_CFLAGS) $(INCS) $(DEFS)
  31.  
  32. DEFS =
  33. INCS =        -nostdinc -I/gnu/os-include -I$(srcdir) -I$(srcdir)/../library -I$(srcdir)/../include
  34. LIB =        libstdio.a
  35. SHELL =        /bin/sh
  36.  
  37. .s.o:
  38.         cp $< x.c
  39.         $(CC) $(ALL_CFLAGS) -traditional -E x.c -o x.s
  40.         $(CC) $(ALL_CFLAGS) -c x.s -o $@
  41.         rm -f x.c x.s
  42.  
  43. .s.bo:
  44.         cp $< x.c
  45.         $(CC) $(ALL_CFLAGS) -traditional -E x.c -o x.s
  46.         $(CC) $(ALL_CFLAGS) -c x.s -o $@
  47.         rm -f x.c x.s
  48.  
  49. .c.o:
  50.         $(CC) $(ALL_CFLAGS) -c $< -o $@
  51.  
  52. .c.bo:
  53.         $(CC) $(ALL_CFLAGS) -c -fbaserel $< -o $@
  54.  
  55. SRCS=   getgrent.c gethostnamadr.c getlogin.c getnetbyaddr.c getnetbyname.c \
  56.     getnetent.c getpass.c getproto.c getprotoent.c getprotoname.c getpwent.c \
  57.     getservbyname.c getservbyport.c getservent.c getttyent.c getusershell.c \
  58.     herror.c inet_addr.c inet_lnaof.c inet_makeaddr.c inet_netof.c \
  59.     inet_network.c inet_ntoa.c initgroups.c rcmd.c res_comp.c res_debug.c \
  60.     res_init.c res_mkquery.c res_query.c res_send.c sethostent.c syslog.c \
  61.     ttyname.c ttyslot.c htonl.s htons.s ntohl.s ntohs.s \
  62.     page.c log2.c hsearch.c dynahash.c bigkey.c hfunc.c  \
  63.     ndbm.c buf.c storage.c updutils.c lruhash.c lrutils.c split.c \
  64.     search.c lrucache.c  insert.c utils.c delete.c big.c seq.c btree.c
  65.  
  66.  
  67. OBJS=   getgrent.o gethostnamadr.o getlogin.o getnetbyaddr.o getnetbyname.o \
  68.     getnetent.o getpass.o getproto.o getprotoent.o getprotoname.o getpwent.o \
  69.     getservbyname.o getservbyport.o getservent.o getttyent.o getusershell.o \
  70.     herror.o inet_addr.o inet_lnaof.o inet_makeaddr.o inet_netof.o \
  71.     inet_network.o inet_ntoa.o initgroups.o rcmd.o res_comp.o res_debug.o \
  72.     res_init.o res_mkquery.o res_query.o res_send.o sethostent.o syslog.o \
  73.     ttyname.o ttyslot.o \
  74.     page.o log2.o hsearch.o dynahash.o bigkey.o hfunc.o  \
  75.     ndbm.o buf.o storage.o updutils.o lruhash.o lrutils.o split.o \
  76.     search.o lrucache.o  insert.o utils.o delete.o big.o seq.o btree.o
  77.  
  78. BOBJS=  getgrent.bo gethostnamadr.bo getlogin.bo getnetbyaddr.bo getnetbyname.bo \
  79.     getnetent.bo getpass.bo getproto.bo getprotoent.bo getprotoname.bo getpwent.bo \
  80.     getservbyname.bo getservbyport.bo getservent.bo getttyent.bo getusershell.bo \
  81.     herror.bo inet_addr.bo inet_lnaof.bo inet_makeaddr.bo inet_netof.bo \
  82.     inet_network.bo inet_ntoa.bo initgroups.bo rcmd.bo res_comp.bo res_debug.bo \
  83.     res_init.bo res_mkquery.bo res_query.bo res_send.bo sethostent.bo syslog.bo \
  84.     ttyname.bo ttyslot.bo \
  85.     page.bo log2.bo hsearch.bo dynahash.bo bigkey.bo hfunc.bo  \
  86.     ndbm.bo buf.bo storage.bo updutils.bo lruhash.bo lrutils.bo split.bo \
  87.     search.bo lrucache.bo  insert.bo utils.bo delete.bo big.bo seq.bo btree.bo
  88.  
  89. SOBJS=  htonl.o htons.o ntohl.o ntohs.o
  90.  
  91.  
  92. libnet.a:    $(OBJS) $(SOBJS)
  93.         rm -f $@
  94.         $(AR) rv $@ $(OBJS) $(SOBJS)
  95.         $(RANLIB) $@
  96.  
  97.  
  98. libnetb.a:    $(BOBJS) $(SOBJS)
  99.         rm -f $@
  100.         $(AR) rv $@ $(BOBJS) $(SOBJS)
  101.         $(RANLIB) $@
  102.  
  103. clean:
  104.     rm -f *!
  105.  
  106. clobber:
  107.     rm -f $(OBJS) $(SOBJS) $(LIB)
  108.  
  109. dep: $(SRC)
  110.     $(CC) >deps -MM $(INCS) $(SRCS)
  111.     
  112. #########################################################################
  113.